package com.system.appointment.feign;

import com.system.appointment.dto.RefundDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @InterfaceName: PayServiceFeign
 * @description: TODO 类描述
 * @author: Li Chuanwei
 * @date: 2023/12/12 14:52
 **/
@FeignClient(value = "pay-service", path = "/pay")
public interface PayServiceFeign {
    @PostMapping("/appointmentRefund")
    boolean appointmentRefund(@RequestBody RefundDTO refundDTO);
}
